#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
    unsigned int m, t, s;
    cin >> m >> t >> s;
    if (t == 0)
    {
        cout << 0 << endl;
    }
    else if (t > 0)
    {
        if (s % t == 0)
            cout << max(m - s / t, 0) << endl;
        else
            cout << max(m - 1 - s / t, 0) << endl;
    }
}